﻿<c:ZoomDocument x:Class="ReflectionStudio.Components.UserControls.TemplateDocument"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:c="clr-namespace:ReflectionStudio.Components.UserControls"
             xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"   
             mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300"
             Title="{Binding Name}" ToolTip="{Binding FullName}">
    <Grid>
        <c:SyntaxedTextEditor x:Name="SyntaxEditor" LocalSyntax="TEMPLATE" FontFamily="Consolas" FontSize="10pt" Grid.Row="0"/>
        <ucd:WaitSpin Name="WaitPanel"
                        AutoPlay="True"
                        VerticalAlignment="Center" 
                        HorizontalAlignment="Center"
                        HorizontalContentAlignment="Center" Elem="{Binding ElementName=SyntaxEditor}" />
    </Grid>
</c:ZoomDocument>
